package cn.itlaobing.eshop.web.entity;

import java.io.Serializable;

/**
 * Created by IT-XuGeek on 2017/11/14.
 */
public class DtoEntity implements Serializable {
    private Integer id;
    private Double price;
    private String good_name;
    private String picUrl;

    public DtoEntity() {
    }

    public DtoEntity(Integer id, Double price, String good_name, String picUrl) {
        this.id = id;
        this.price = price;
        this.good_name = good_name;
        this.picUrl = picUrl;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public String getGood_name() {
        return good_name;
    }

    public void setGood_name(String good_name) {
        this.good_name = good_name;
    }

    public String getPicUrl() {
        return picUrl;
    }

    public void setPicUrl(String picUrl) {
        this.picUrl = picUrl;
    }

    @Override
    public String toString() {
        return "DtoEntity{" +
                "id=" + id +
                ", price=" + price +
                ", good_name='" + good_name + '\'' +
                ", picUrl='" + picUrl + '\'' +
                '}';
    }
}
